package com.hvtt.web.connection;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;

public class WEBParamCollection extends ArrayList<Object>{
	   
	private static WEBParamCollection webParamCollection=null;
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public WEBParamCollection() {
	}
	public static WEBParamCollection getInstance(){
		if(webParamCollection==null)
			return new WEBParamCollection();
		webParamCollection.clear();
		return webParamCollection;
	}
        @Override
	public boolean add(Object obj){
		return super.add(obj);
	}
        @Override
	public boolean contains(Object o) {
		return super.contains(o);
	}
        @Override
	public void add(int index, Object element) {
		super.add(index, element);
	}
        @Override
	public boolean addAll(Collection<? extends Object> c) {
		return super.addAll(c);
	}
        @Override
	public void clear() {
		super.clear();
	}
        @Override
	public boolean addAll(int index, Collection<? extends Object> c) {
		return super.addAll(index, c);
	}
        @Override
	public boolean containsAll(Collection<?> c) {
		return super.containsAll(c);
	}
        @Override
	public Object get(int index) {
		return super.get(index);
	}
        @Override
	public int indexOf(Object o) {
		return super.indexOf(o);
	}
        @Override
	public boolean isEmpty() {
		return super.isEmpty();
	}
        @Override
	public int lastIndexOf(Object o) {
		return super.lastIndexOf(o);
	}
        @Override
	public Object remove(int index) {
		return super.remove(index);
	}
        @Override
	public boolean remove(Object o) {
		return super.remove(o);
	}
        @Override
	public List<Object> subList(int fromIndex, int toIndex) {
		return super.subList(fromIndex, toIndex);
	}
}
